/* ✅ Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  overflow-x: hidden;
  background: #f4f4f4;
  min-height: 100vh;
}

/* ✅ Navbar */
.navbar {
  width: 100%;
  background: #0d1b2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: 0.3s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #ffcc00;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ✅ Right icons */
.right-icons a {
  color: #fff;
  font-size: 22px;
  margin-left: 15px;
  transition: 0.3s;
}

.right-icons a:hover {
  color: #ffcc00;
}

/* ✅ Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0c0b0b;
  min-width: 200px;
  border-radius: 6px;
  z-index: 1000;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 10px 15px;
  color: #eee;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background: #201d1d;
}
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ✅ Mobile Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background: #0d1b2a;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    z-index: 10000;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    font-size: 22px;
    cursor: pointer;
    margin-right: auto;
    order: -1;
  }
  .right-icons {
    margin-left: auto;
  }
}
@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }
}

/* ✅ Content spacing */
.content {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
}

/*------------------------------------------------Gallery section--------------------------------------*/
.gallery-section { 
  margin-top: 100px;
 }
 .gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  width: 90%;
  flex-wrap: nowrap;   /* Button kabhi niche nahi jayega */
}

.gallery-header h2 {
  margin: 0;
  flex: 1;            /* Heading jitni jagah bachi hai use lelegi */
  font-size: 20px;    /* Responsive ke liye thoda manageable size */
  overflow: hidden;   /* Text bahar na nikle */
  text-overflow: ellipsis;
  white-space: nowrap; /* Ek line me hi rahega */
}

.gallery-header button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  flex-shrink: 0;     /* Button shrink nahi hoga */
}

.gallery-header button:hover {
   background: #0056b3;
   }
.gallery-header button:disabled { 
  background: #ccc; cursor: not-allowed; 
}

.gallery-grid {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  row-gap: 30px;
}
.gallery-grid img {
  width: 90%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.8; /* hover पर हल्का transparent */
}

@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 200px; }
}

/* ==== FULLSCREEN LIGHTBOX ==== */
.lightbox {
 
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.lightbox-img {
 
  background: #ccc;
  max-width: 80%;
  max-height: 100vh;

  /* border: 4px solid #fff; */
  /* box-shadow: 0 0 30px rgba(255,255,255,0.3); */
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 30px;
  color: #040404;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* ==== THUMBNAILS नीचे ==== */
.thumb-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: left;
  gap: 10px;
  flex-wrap: wrap;
}
.thumb-container img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid #141414;
  transition: 0.3s;
}
.thumb-container img.active,
.thumb-container img:hover {
  opacity: 1;
  border-color: yellow;
}


/*------------------------------------------------Footer section--------------------------------------*/
.footer-section {
  width: 100%;
  background: #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 16px;
  color: #333;
}

.footer-section a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-section {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px;
  }
}

